package com.example.demo1122.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "chapter")
@ApiModel(value = "Chapter对象", description = "")
public class Chapter implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    @TableField(value = "chapterID")
    private Integer chapterID;

    @TableField(value = "chapterNum")
    private Integer chapterNum;

    @TableField(value = "chapterName")
    private String chapterName;

    @TableField(value = "courseID")
    private Integer courseID;
}
